<!doctype html>



  


<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />












  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.0" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="jenkins,sonarqube,eclipse," />








  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.1.0" />






<meta name="description" content="插件兼容列表


plugin
3.4
3.5








SonarQube|3.6+|4.2+Eclipse|3.7.x, 3.8.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x (Indigo, Juno, Kepler, Luna, Mars)|4.2.x, 4.3.x, 4.4.x, 4.5.x(Juno, Kepler, Luna, Mars)Supported P">
<meta property="og:type" content="article">
<meta property="og:title" content="代码审查工具SonarQube与Eclipse集成">
<meta property="og:url" content="http://chrisrc.me/2015/09/02/autoit-sonarqube-eclipse/index.html">
<meta property="og:site_name" content="山中，山外与俯瞰">
<meta property="og:description" content="插件兼容列表


plugin
3.4
3.5








SonarQube|3.6+|4.2+Eclipse|3.7.x, 3.8.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x (Indigo, Juno, Kepler, Luna, Mars)|4.2.x, 4.3.x, 4.4.x, 4.5.x(Juno, Kepler, Luna, Mars)Supported P">
<meta property="og:image" content="http://chrisrc.me/images/autoit_sonar_eclipse_install_server.jpg">
<meta property="og:image" content="http://chrisrc.me/images/autoit_sonar_eclipse_server_config.jpg">
<meta property="og:image" content="http://chrisrc.me/images/autoit_sonar_server.jpg">
<meta property="og:image" content="http://chrisrc.me/images/autoit_sonar_associate_with_sonarqube.jpg">
<meta property="og:image" content="http://chrisrc.me/images/autoit_sonar_associate_with_sonar2.jpg">
<meta property="og:image" content="http://chrisrc.me/images/autoit_sonar_project_analyze.jpg">
<meta property="og:updated_time" content="2016-12-17T07:29:29.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="代码审查工具SonarQube与Eclipse集成">
<meta name="twitter:description" content="插件兼容列表


plugin
3.4
3.5








SonarQube|3.6+|4.2+Eclipse|3.7.x, 3.8.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x (Indigo, Juno, Kepler, Luna, Mars)|4.2.x, 4.3.x, 4.4.x, 4.5.x(Juno, Kepler, Luna, Mars)Supported P">
<meta name="twitter:image" content="http://chrisrc.me/images/autoit_sonar_eclipse_install_server.jpg">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Mist',
    sidebar: {"position":"left","display":"post"},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://chrisrc.me/2015/09/02/autoit-sonarqube-eclipse/"/>





  <title> 代码审查工具SonarQube与Eclipse集成 | 山中，山外与俯瞰 </title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  










  
  
    
  

  <div class="container one-collumn sidebar-position-left page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-meta ">
  

  <div class="custom-logo-site-title">
    <a href="/"  class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <span class="site-title">山中，山外与俯瞰</span>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>
  <p class="site-subtitle">一次永不停止的探索之旅</p>
</div>

<div class="site-nav-toggle">
  <button>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
  </button>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-dcos">
          <a href="/dcos" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-book"></i> <br />
            
            DC/OS
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      

      
        <li class="menu-item menu-item-search">
          
            <a href="javascript:;" class="st-search-show-outputs">
          
            
              <i class="menu-item-icon fa fa-search fa-fw"></i> <br />
            
            搜索
          </a>
        </li>
      
    </ul>
  

  
    <div class="site-search">
      
  <form class="site-search-form">
  <input type="text" id="st-search-input" class="st-search-input st-default-search-input" />
</form>

<script type="text/javascript">
  (function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
    (w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
    e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
  })(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');

  _st('install', 'R9GcmhBwxpsAGLNCsquZ','2.0.0');
</script>



    </div>
  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
  <link itemprop="mainEntityOfPage" href="http://chrisrc.me/2015/09/02/autoit-sonarqube-eclipse/">

  <span style="display:none" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="chrisrc">
    <meta itemprop="description" content="">
    <meta itemprop="image" content="/images/avatar.gif">
  </span>

  <span style="display:none" itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="山中，山外与俯瞰">
    <span style="display:none" itemprop="logo" itemscope itemtype="http://schema.org/ImageObject">
      <img style="display:none;" itemprop="url image" alt="山中，山外与俯瞰" src="">
    </span>
  </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                代码审查工具SonarQube与Eclipse集成
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>
              <time title="Post created" itemprop="dateCreated datePublished" datetime="2015-09-02T09:41:27+08:00">
                2015-09-02
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
              <span class="post-meta-divider">|</span>
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/IT自动化/" itemprop="url" rel="index">
                    <span itemprop="name">IT自动化</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
              <span class="post-comments-count">
                <span class="post-meta-divider">|</span>
                <a href="/2015/09/02/autoit-sonarqube-eclipse/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2015/09/02/autoit-sonarqube-eclipse/" itemprop="commentCount"></span>
                </a>
              </span>
            
          

          

          
          

          

          

        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        <div class="toc"></div>

<h2 id="插件兼容列表"><a href="#插件兼容列表" class="headerlink" title="插件兼容列表"></a>插件兼容列表</h2><table>
<thead>
<tr>
<th style="text-align:left">plugin</th>
<th style="text-align:left">3.4</th>
<th style="text-align:left">3.5</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left"></td>
</tr>
</tbody>
</table>
<p>SonarQube|3.6+|4.2+<br>Eclipse|3.7.x, 3.8.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x (Indigo, Juno, Kepler, Luna, Mars)|4.2.x, 4.3.x, 4.4.x, 4.5.x(Juno, Kepler, Luna, Mars)<br>Supported Plugins / Languages|Java, C/C++(only C++ is supported), Python| <a href="http://docs.sonarqube.org/display/SONAR/Features+details" target="_blank" rel="external">Feature Details</a>  </p>
<a id="more"></a>
<h2 id="插件安装"><a href="#插件安装" class="headerlink" title="插件安装"></a>插件安装</h2><ul>
<li>Eclipse Marketplace安装<br><strong>Help&gt; Eclipse Marketplace…</strong> 搜索“SonarQube”  </li>
<li>离线安装<br>下载<a href="https://bintray.com/artifact/download/sonarsource/Distribution/org.sonar.ide.eclipse.site-3.5.0.20150804-1512-RELEASE.zip" target="_blank" rel="external">org.sonar.ide.eclipse.site-3.5.0.20150804-1512-RELEASE.zip</a>，进入<strong>Help&gt; Install New Software…</strong> 安装</li>
<li>更新站点安装<br>进入<strong>Help&gt; Install New Software…</strong> ，添加更新站点<code>http://downloads.sonarsource.com/eclipse/eclipse/</code></li>
</ul>
<h2 id="配置SonarQube插件"><a href="#配置SonarQube插件" class="headerlink" title="配置SonarQube插件"></a>配置SonarQube插件</h2><p>进入 <strong>Window &gt; Preferences &gt; SonarQube &gt; Servers</strong><br><img src="/images/autoit_sonar_eclipse_install_server.jpg" alt="SonarQube Eclipse Config"><br>添加或编辑Sonar服务器配置项:<br><img src="/images/autoit_sonar_eclipse_server_config.jpg" alt="SonarQube Server Config">  </p>
<h2 id="分析项目代码"><a href="#分析项目代码" class="headerlink" title="分析项目代码"></a>分析项目代码</h2><p>上述插件配置成功后，可以在Eclipse中通过SonarQube对项目代码进行分析。</p>
<p><strong>注意</strong>：下述步骤中演示的项目是已通过jenkins自动获取Gitlab仓库中的代码，调用SonarQube插件分析，然后将分析结果提交到了SonarQube服务器。<br><img src="/images/autoit_sonar_server.jpg" alt="Sonar Server"></p>
<p><strong>首先</strong>，将项目与Sonar服务器上的项目进行关联。对于多模块（multi-module）的Maven项目，仅将主项目与Sonar进行关联即可。<br><img src="/images/autoit_sonar_associate_with_sonarqube.jpg" alt="Associate with SonarQube"><br><img src="/images/autoit_sonar_associate_with_sonar2.jpg" alt="Associate with SonarQube"></p>
<p>确定完成关联后，SonarQube自动分析项目，并将分析结果显示在“SonarQube Issues”窗口中，双击窗口列表中的问题，即可定位到存在问题的具体代码。<br><img src="/images/autoit_sonar_project_analyze.jpg" alt="SonarQube Issues"></p>
<p>右键选择列表中的问题，在弹出菜单中选择“Rule Description”项，即可在“SonarQube Rule Description”窗口中查看该特定问题的描述及解决评估策略。</p>
<h2 id="SonarQube插件的应用"><a href="#SonarQube插件的应用" class="headerlink" title="SonarQube插件的应用"></a>SonarQube插件的应用</h2><h3 id="开发人员"><a href="#开发人员" class="headerlink" title="开发人员"></a>开发人员</h3><p>可以使用上述功能，可以对自己的代码进行提交前审查，确保代码的规范性并预防BUG。</p>
<h3 id="代码审查人员"><a href="#代码审查人员" class="headerlink" title="代码审查人员"></a>代码审查人员</h3><p>作为项目负责人或代码审查人员，使用SonarQube对项目代码进行分析，检查分析结果，生成Jira/Redmine等项目缺陷跟踪系统中的任务。</p>
<p>具体步骤是：在“SonarQube Issues”窗口中选择列表中的问题，右键弹出菜单中选择“New Task From Mark…”菜单项，在新窗口中编辑提交问题。</p>
<h2 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</h2><ul>
<li>SonarQube Eclipse插件为开发人员在软件开发周期中提供了一个自我审查的过程，可以提高代码的规范性，并降低BUG的数量。</li>
<li>代码审查通过与Git，Jenkins，Jira/Redmine及IDE环境相接合，可以极大提高项目的协同开发效率及项目代码质量。</li>
<li>SonarQube服务器与Jenkins的集成，请关注后续文章。</li>
</ul>
<h2 id="参考"><a href="#参考" class="headerlink" title="参考"></a>参考</h2><ul>
<li><a href="http://docs.sonarqube.org/display/SONAR/SonarQube+in+Eclipse" target="_blank" rel="external">SonarQube in Eclipse</a></li>
</ul>

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>


    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/jenkins/" rel="tag"># jenkins</a>
          
            <a href="/tags/sonarqube/" rel="tag"># sonarqube</a>
          
            <a href="/tags/eclipse/" rel="tag"># eclipse</a>
          
        </div>
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2015/09/01/autoit-ansible-with-vagrant-and-virtualbox/" rel="next" title="采用Vagrant搭建Ansible playbook脚本开发测试环境">
                <i class="fa fa-chevron-left"></i> 采用Vagrant搭建Ansible playbook脚本开发测试环境
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2015/09/06/linux-broadcom-driver-for-kernel-4/" rel="prev" title="Broadcom Wireless Driver for Linux Kernel 4.0">
                Broadcom Wireless Driver for Linux Kernel 4.0 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
        <div class="ds-share flat" data-thread-key="2015/09/02/autoit-sonarqube-eclipse/"
     data-title="代码审查工具SonarQube与Eclipse集成"
     data-content=""
     data-url="http://chrisrc.me/2015/09/02/autoit-sonarqube-eclipse/">
  <div class="ds-share-inline">
    <ul  class="ds-share-icons-16">

      <li data-toggle="ds-share-icons-more"><a class="ds-more" href="javascript:void(0);">分享到：</a></li>
      <li><a class="ds-weibo" href="javascript:void(0);" data-service="weibo">微博</a></li>
      <li><a class="ds-qzone" href="javascript:void(0);" data-service="qzone">QQ空间</a></li>
      <li><a class="ds-qqt" href="javascript:void(0);" data-service="qqt">腾讯微博</a></li>
      <li><a class="ds-wechat" href="javascript:void(0);" data-service="wechat">微信</a></li>

    </ul>
    <div class="ds-share-icons-more">
    </div>
  </div>
</div>
      
    </div>
  </div>


          </div>
          


          
  <div class="comments" id="comments">
    
      <div class="ds-thread" data-thread-key="2015/09/02/autoit-sonarqube-eclipse/"
           data-title="代码审查工具SonarQube与Eclipse集成" data-url="http://chrisrc.me/2015/09/02/autoit-sonarqube-eclipse/">
      </div>
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/images/avatar.gif"
               alt="chrisrc" />
          <p class="site-author-name" itemprop="name">chrisrc</p>
          <p class="site-description motion-element" itemprop="description"></p>
        </div>
        <nav class="site-state motion-element">
          <div class="site-state-item site-state-posts">
            <a href="/archives">
              <span class="site-state-item-count">69</span>
              <span class="site-state-item-name">日志</span>
            </a>
          </div>

          
            <div class="site-state-item site-state-categories">
              <a href="/categories">
                <span class="site-state-item-count">21</span>
                <span class="site-state-item-name">分类</span>
              </a>
            </div>
          

          
            <div class="site-state-item site-state-tags">
              <a href="/tags">
                <span class="site-state-item-count">162</span>
                <span class="site-state-item-name">标签</span>
              </a>
            </div>
          

        </nav>

        

        <div class="links-of-author motion-element">
          
            
              <span class="links-of-author-item">
                <a href="https://github.com/christtrc" target="_blank" title="GitHub">
                  
                    <i class="fa fa-fw fa-github"></i>
                  
                  GitHub
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="https://twitter.com/chrisrc" target="_blank" title="Twitter">
                  
                    <i class="fa fa-fw fa-twitter"></i>
                  
                  Twitter
                </a>
              </span>
            
          
        </div>

        
        
          <div class="cc-license motion-element" itemprop="license">
            <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" class="cc-opacity" target="_blank">
              <img src="/images/cc-by-nc-sa.svg" alt="Creative Commons" />
            </a>
          </div>
        

        
        

        


      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#插件兼容列表"><span class="nav-number">1.</span> <span class="nav-text">插件兼容列表</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#插件安装"><span class="nav-number">2.</span> <span class="nav-text">插件安装</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#配置SonarQube插件"><span class="nav-number">3.</span> <span class="nav-text">配置SonarQube插件</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#分析项目代码"><span class="nav-number">4.</span> <span class="nav-text">分析项目代码</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#SonarQube插件的应用"><span class="nav-number">5.</span> <span class="nav-text">SonarQube插件的应用</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#开发人员"><span class="nav-number">5.1.</span> <span class="nav-text">开发人员</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#代码审查人员"><span class="nav-number">5.2.</span> <span class="nav-text">代码审查人员</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#总结"><span class="nav-number">6.</span> <span class="nav-text">总结</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#参考"><span class="nav-number">7.</span> <span class="nav-text">参考</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy;  2015 - 
  <span itemprop="copyrightYear">2017</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">
     
      <a href="mailto:chrisrc@qq.com">chrisrc</a> 
    
  </span>
  <span class="author"> &nbsp; QQ: 58122705 </span>
</div>


<div class="powered-by">
  由 <a class="theme-link" href="https://hexo.io">Hexo</a> 强力驱动
</div>

<div class="theme-info">
  主题 -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Mist
  </a>
</div>


        

        
      </div>
    </footer>

    <div class="back-to-top">
      <i class="fa fa-arrow-up"></i>
    </div>
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  



  
  <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.0"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.0"></script>



  
  

  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.0"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.0"></script>



  

  
    
  

  <script type="text/javascript">
    var duoshuoQuery = {short_name:"chrisrc"};
    (function() {
      var ds = document.createElement('script');
      ds.type = 'text/javascript';ds.async = true;
      ds.id = 'duoshuo-script';
      ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
      ds.charset = 'UTF-8';
      (document.getElementsByTagName('head')[0]
      || document.getElementsByTagName('body')[0]).appendChild(ds);
    })();
  </script>

  
    
    
    <script src="/lib/ua-parser-js/dist/ua-parser.min.js?v=0.7.9"></script>
    <script src="/js/src/hook-duoshuo.js"></script>
  








  
  

  

  

  
<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>


  
<script>
(function(){
   var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?ed903ab05fbc5fa64d95e4bfbf3d3a04":"https://jspassport.ssl.qhimg.com/11.0.1.js?ed903ab05fbc5fa64d95e4bfbf3d3a04";
   document.write('<script src="' + src + '" id="sozz"><\/script>');
})();
</script>

  


</body>
</html>
